package com.shiguiwu.springmybatis.designpattern.iterator;

/**
 * @description: 集合接口
 * @author: stone
 * @date: Created by 2021/9/7 10:54
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.iterator
 */
public interface Collection<E, L> extends Iterable<E> {

    public boolean add(E e);

    public boolean remove(E e);

    boolean addLink(String key,L l);

    boolean removeLink(String key);

}

